<?php

/**
 * BaseController class.
 *
 *
 * @package    lib
 * @subpackage lib_controller
 * @author     Juan Carlos Jarquin (zetta)
 * @author     $LastChangedBy$
 * @version    1.1, SVN: $Id$
 */
class BaseController extends AbstractController
{
  public function prepare()
  {
    $xml = simplexml_load_file('data/config.xml');
    $this->config = $xml;
    $this->view->config = $xml;
    $this->view->baseUrl = $this->getRequest()->getBaseUrl();
  }
}
